package com.spring.shiro.main.java.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.spring.shiro.main.java.mapper.SlaveMapper;
import com.spring.shiro.main.java.service.SlaveService;
@Service
public class SlaveServiceImpl implements SlaveService {
	@Autowired
	private SlaveMapper slaveMapper;
	
	@Override
	//@DataSourceChange(slave = true)
	public Integer count() {
		
		return slaveMapper.count();
	}

}
